package com.example.demo.mapper;

import com.example.demo.bean.CmsComment;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface CmsCommentMapper {
    int deleteByPrimaryKey(String id);

    int insert(CmsComment record);

    CmsComment selectByPrimaryKey(String id);

    List<CmsComment> selectAll();

    int updateByPrimaryKey(CmsComment record);

    int updateStateById(String comId,String state);

}